package com.qike.duola.mapper;

import com.qike.duola.domain.DuolaGoods;
import com.qike.duola.domain.DuolaGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DuolaGoodsMapper {
    long countByExample(DuolaGoodsExample example);

    int deleteByExample(DuolaGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DuolaGoods record);

    int insertSelective(DuolaGoods record);

    List<DuolaGoods> selectByExample(DuolaGoodsExample example);

    DuolaGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DuolaGoods record, @Param("example") DuolaGoodsExample example);

    int updateByExample(@Param("record") DuolaGoods record, @Param("example") DuolaGoodsExample example);

    int updateByPrimaryKeySelective(DuolaGoods record);

    int updateByPrimaryKey(DuolaGoods record);
}